using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for csLogin
/// </summary>
/// 
namespace AccesoDatos
{

    public class clsBuscador
    {
        //variables
        private string _stringConexion = ConfigurationManager.ConnectionStrings["SQL"].ToString();

        public clsBuscador()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public DataSet ObtenerParametros(string Modulo)
        {
            return SqlHelper.ExecuteDataset(_stringConexion, "spObtenerParametros", Modulo);
        }

        public DataSet ObtenerLista(string sp)
        {
            return SqlHelper.ExecuteDataset(_stringConexion, sp);
        }
    }
}